<template>
  <div id="app">
    <RouterView name="Navigation_User"></RouterView>
    <RouterView name="Navigation_Admin"></RouterView>
    <Background/>
    <div class="right-bar">
    <RouterView/>
    </div>
  </div>
</template>

<script>
import Background from "./components/Background";
import page from './assets/page.js';

export default {
  name: 'App',
  components: {
    Background,
  },
  mounted: function () {
    page.show(this.msg)
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0;
}
.right-bar{
  width: 80vw;
  float: right;
}
body html{
  margin: 0;
  font-family: Microsoft YaHei;
  scroll-behavior: smooth;

}
</style>
